package com.hoshiicloud.user.param.supppiler;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 新增租户机构用户参数
 * </p>
 *
 * @author campchen
 * @since 2019-05-27
 */

@Data
@ApiModel(value = "新增租户机构用户", description = "新增租户机构用户")
public class ComOrganizationUsersAddParam implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(name = "memberid", value = "会员ID", example = "3330259367202127891")
    @NotNull(message = "会员ID不能为空")
    private Long memberId;
    
/*  系统自动生成
    @ApiModelProperty(name = "usercode", value = "编号/职员编号", example = "")
    private String usercode;
    

    @ApiModelProperty(name = "qrcode", value = "专属二维码", example = "")
    private String qrcode;
   */

    @ApiModelProperty(name = "worktelphone", value = "工作电话/座机号", example = "0591-8786098")
    private String worktelphone;


    @ApiModelProperty(name = "position", value = "职务/岗位", example = "饲养员")
    private String position;


    @ApiModelProperty(name = "Educational", value = "文化程度", example = "博士后")
    private String Educational;


    @ApiModelProperty(name = "professional", value = "职称", example = "员长")
    private String professional;


    @ApiModelProperty(name = "hireDate", value = "入职时间", example = "1949-10-1")
    private LocalDateTime hireDate;


    @ApiModelProperty(name = "email", value = "公司工作email地址", example = "123456@163.com")
    private String email;


    @ApiModelProperty(name = "officelocation", value = "办公地址", example = "福州")
    private String officelocation;
    

   /* @ApiModelProperty(name = "locked", value = "是否锁定", example = "")
    private Integer locked;*/


    @ApiModelProperty(name = "wxOpenId", value = "微信optnid", example = "")
    private String wxOpenId;


    @ApiModelProperty(name = "wxUnionId", value = "微信unionid", example = "")
    private String wxUnionId;


    @ApiModelProperty(name = "wxName", value = "微信名称", example = "")
    private String wxName;


    @ApiModelProperty(name = "wxPic", value = "微信头像", example = "")
    private String wxPic;


    @ApiModelProperty(name = "qqOpenId", value = "qq openid", example = "")
    private String qqOpenId;
    

   /*默认0
   @ApiModelProperty(name = "deleted", value = "是否删除（0-否 1-是）", example = "")
    private Integer deleted;*/


    @ApiModelProperty(name = "lastLoginTime", value = "最后一次登录时间", example = "")
    private LocalDateTime lastLoginTime;


    /**
     * 手机号码
     */
    @ApiModelProperty(name = "mobile", value = "手机号 需与注册时相同", example = "13997807009")
    private String mobile;

}
